\documentclass[a4paper]{book}
\usepackage{a4wide}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{times}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}

\usepackage{doxygen}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large Grammars and Automata }\\
\vspace*{1cm}
{\large Создано системой Doxygen 1.6.3}\\
\vspace*{0.5cm}
{\small Wed Dec 15 15:05:02 2010}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}
\chapter{Алфавитный указатель классов}
\input{hierarchy}
\chapter{Алфавитный указатель классов}
\input{annotated}
\chapter{Классы}
\input{d8/d9a/class_alphabet}
\include{d8/d23/class_arifmetical_progression}
\include{d9/db8/class_automaton}
\include{d4/d33/structcmp}
\include{dd/d71/class_command_interpreter}
\include{d2/d5f/class_context_free_grammar}
\include{d8/d87/class_controller}
\include{d3/d0c/class_convert}
\include{db/d1c/struct_current_and_new_states}
\include{df/d23/struct_current_configuration}
\include{db/d45/class_deterministic_finite_automaton}
\include{dd/d4e/class_grammar}
\include{d1/d42/class_grammar_algorithms}
\include{dd/ddf/classkl}
\include{d1/dba/class_letter}
\include{de/d9b/struct_letter_and_new_states}
\include{d3/d53/class_linear_grammar}
\include{dc/d73/struct_new_configuration}
\include{dd/d1b/class_nondeterministic_finite_automaton}
\include{d7/d88/struct_nonterminal}
\include{d7/d82/class_nonterminals}
\include{d9/d4d/class_permutations_with_repetition}
\include{d1/d7a/class_production}
\include{da/da0/class_production_c_f_g}
\include{da/df6/class_production_l_g}
\include{da/d80/class_productions}
\include{d3/d64/struct_productions_map}
\include{d0/d7c/class_pushdown_automaton}
\include{d0/d8b/class_state}
\include{d7/daa/class_states}
\include{d9/daf/class_topological_sorter}
\include{d2/d37/class_transition}
\include{dd/d3f/class_transition_fuctions_working}
\include{de/d0d/class_transition_function_map_by_letter}
\include{db/dc6/class_transition_function_map_by_state}
\include{de/d26/class_transition_function_p_d_a}
\include{d8/de0/class_transition_function_set}
\include{db/dd2/class_transition_p_d_a}
\include{dd/d9f/class_view}
\include{d3/da0/class_word}
\printindex
\end{document}
